package com.docker.fjk.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.docker.common.annotation.Excel;
import com.docker.common.core.domain.BaseEntity;

/**
 * 检查项目设置对象 docker_project
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
public class DockerProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 零售价(元) */
    @Excel(name = "零售价(元)")
    private BigDecimal retailPrice;

    /** 成本价 (元) */
    @Excel(name = "成本价 (元)")
    private BigDecimal costPrice;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 项目类别（字典） */
    @Excel(name = "项目类别", readConverterExp = "字=典")
    private String projectCategory;

    /** 发票项目（字典） */
    @Excel(name = "发票项目", readConverterExp = "字=典")
    private String invoiceItem;

    /** 项目状态（字典） */
    @Excel(name = "项目状态", readConverterExp = "字=典")
    private String projectStatus;

    /** 会员折扣（字典） */
    @Excel(name = "会员折扣", readConverterExp = "字=典")
    private String memberDiscount;

    /** 单位 (字典) */
    @Excel(name = "单位 (字典)")
    private String unit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

    public void setRetailPrice(BigDecimal retailPrice) 
    {
        this.retailPrice = retailPrice;
    }

    public BigDecimal getRetailPrice() 
    {
        return retailPrice;
    }

    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }

    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setProjectCategory(String projectCategory) 
    {
        this.projectCategory = projectCategory;
    }

    public String getProjectCategory() 
    {
        return projectCategory;
    }

    public void setInvoiceItem(String invoiceItem) 
    {
        this.invoiceItem = invoiceItem;
    }

    public String getInvoiceItem() 
    {
        return invoiceItem;
    }

    public void setProjectStatus(String projectStatus) 
    {
        this.projectStatus = projectStatus;
    }

    public String getProjectStatus() 
    {
        return projectStatus;
    }

    public void setMemberDiscount(String memberDiscount) 
    {
        this.memberDiscount = memberDiscount;
    }

    public String getMemberDiscount() 
    {
        return memberDiscount;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("retailPrice", getRetailPrice())
            .append("costPrice", getCostPrice())
            .append("creationTime", getCreationTime())
            .append("remarks", getRemarks())
            .append("projectCategory", getProjectCategory())
            .append("invoiceItem", getInvoiceItem())
            .append("projectStatus", getProjectStatus())
            .append("memberDiscount", getMemberDiscount())
            .append("unit", getUnit())
            .toString();
    }
}
